package com.caption.dto;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


@Data
@NoArgsConstructor
public class UserDTO {
    private Long id;
    private String name;
    private Date createTime;
    private String firstDate;
    private BigDecimal price;
    private Double  height;
    private List<String> tags;
    private List<CardDTO> cardDTOList;
    private SchoolDTO schoolDTO;
    public UserDTO(Long id, String name, Date createTime, BigDecimal price) {
        this.id = id;
        this.name = name;
        this.createTime = createTime;
        this.price = price;
    }

    public UserDTO(Long id, String name) {
        this.id = id;
        this.name = name;
    }
}
